package com.ybxx.fees.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ybxx.base.model.FeesType;
import com.ybxx.base.model.Room;
import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_fees_wsf_record_item")
public class WsfRecordItem extends BaseModel {
	@Id
	private String wicode;
	@ManyToOne(targetEntity=FeesType.class,fetch=FetchType.LAZY)
	@JoinColumn(name="ftid",referencedColumnName="ftid")
	private FeesType feesType;
	@ManyToOne(targetEntity=WsfRecord.class,fetch=FetchType.LAZY)
	@JoinColumn(name="wsfrcode",referencedColumnName="wsfrcode")
	private WsfRecord wsfRecord;
	private String rnum;
	private String ymoney;
	private String price;
	public String getWicode() {
		return wicode;
	}
	public void setWicode(String wicode) {
		this.wicode = wicode;
	}
	public FeesType getFeesType() {
		return feesType;
	}
	public void setFeesType(FeesType feesType) {
		this.feesType = feesType;
	}
	public WsfRecord getWsfRecord() {
		return wsfRecord;
	}
	public void setWsfRecord(WsfRecord wsfRecord) {
		this.wsfRecord = wsfRecord;
	}
	public String getRnum() {
		return rnum;
	}
	public void setRnum(String rnum) {
		this.rnum = rnum;
	}
	public String getYmoney() {
		return ymoney;
	}
	public void setYmoney(String ymoney) {
		this.ymoney = ymoney;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	
}
